#ifndef _BRIDGR_CENTER_ENTITY_H_
#define _BRIDGR_CENTER_ENTITY_H_

#include "AbstractEntity.h"
#include "BridgeData.h"

class BridgeCenterEntity : public AbstractEntity
{
public:
	int state;

	//************************************
	// Method:    BridgeCenterEntity
	// FullName:  BridgeCenterEntity::BridgeCenterEntity
	// Access:    public 
	// Returns:   
	// Qualifier:
	// Parameter: int id
	// Parameter: int type
	// Parameter: double x
	// Parameter: double y
	//************************************
	BridgeCenterEntity(int id, int type, double x, double y);

	//************************************
	// Method:    update
	// FullName:  BridgeCenterEntity::update
	// Access:    virtual public 
	// Returns:   void
	// Qualifier:
	// Parameter: long time
	//************************************
	virtual void update(long time);

	//************************************
	// Method:    draw
	// FullName:  BridgeCenterEntity::draw
	// Access:    virtual public 
	// Returns:   void
	// Qualifier:
	// Parameter: long time
	//************************************
	virtual void draw(long time);

	//************************************
	// Method:    getAbstractData
	// FullName:  BridgeCenterEntity::getAbstractData
	// Access:    virtual public 
	// Returns:   AbstractData*
	// Qualifier:
	//************************************
	virtual AbstractData* getAbstractData();

	//************************************
	// Method:    ~BridgeCenterEntity
	// FullName:  BridgeCenterEntity::~BridgeCenterEntity
	// Access:    public 
	// Returns:   
	// Qualifier:
	//************************************
	~BridgeCenterEntity();

private:
	BridgeData* _data;
	int _counter;
};

#endif